﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Arc.WinForms.Controls
{
    public static class StringExtentions
    {
        public static bool IsNumber(this string Str)
        {
            if (Str.Any(c => !char.IsNumber(c)))
                return false;
            return true;
        }

        public static Int32 ToInt32(this string Str)
        {
            return Convert.ToInt32(Str);
        }
    }
}
